package cn.yxl.org.domain;

import lombok.Data;

/**
 * 部门实体类
 */
@Data
public class Department {
    private Long id;         //id
    private String sn;       //编号
    private String name;     //名称
    private String dirPath;  // 上级部门的层级路径(不管)
    private Integer state;   // 0正常   -1禁用

    private Long manager_id; //管理员id
    private Employee manager;

    private Long parent_id;    //上级部门id
    private Department parent; //上级部门  //parent.id

}











